Package | hl7.fhir.uv.xver |
Type | StructureMap |
Id | Id |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-NutritionOrder5to4B.html |
Url | http://hl7.org/fhir/StructureMap/NutritionOrder5to4B |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | NutritionOrder5to4B |
Title | NutritionOrder Transforms: R5 to R4B |
Experimental | False |
Realm | uv |
Authority | hl7 |
Description | NutritionOrderTransformsR5toR4B |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/NutritionOrder5to4B' /// name = 'NutritionOrder5to4B' /// title = 'NutritionOrder Transforms: R5 to R4B' /// status = 'active' uses "http://hl7.org/fhir/5.0/NutritionOrder" alias NutritionOrderR5 as source uses "http://hl7.org/fhir/4.0/NutritionOrder" alias NutritionOrderR4B as target imports "http://hl7.org/fhir/StructureMap/*5to4B" group NutritionOrder(source src : NutritionOrderR5, target tgt : NutritionOrderR4B) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.instantiatesCanonical -> tgt.instantiatesCanonical; src.instantiatesUri -> tgt.instantiatesUri; src.instantiates -> tgt.instantiates; src.status as v -> tgt.status = translate(v, 'http://hl7.org/fhir/ConceptMap/NutritionOrder.status-R5toR4', 'code'); src.intent as v -> tgt.intent = translate(v, 'http://hl7.org/fhir/ConceptMap/NutritionOrder.intent-R5toR4', 'code'); src.subject -> tgt.patient; src.encounter -> tgt.encounter; src.dateTime -> tgt.dateTime; src.orderer -> tgt.orderer; src.allergyIntolerance -> tgt.allergyIntolerance; src.foodPreferenceModifier -> tgt.foodPreferenceModifier; src.excludeFoodModifier -> tgt.excludeFoodModifier; src.oralDiet as s -> tgt.oralDiet as t then NutritionOrderOralDiet(s, t); src.supplement as s -> tgt.supplement as t then NutritionOrderSupplement(s, t); src.enteralFormula as s -> tgt.enteralFormula as t then NutritionOrderEnteralFormula(s, t); src.note -> tgt.note; } group NutritionOrderOralDiet(source src, target tgt) extends BackboneElement { src.type -> tgt.type; src.schedule as s -> tgt then { s.timing -> tgt.schedule; }; src.nutrient as s -> tgt.nutrient as t then NutritionOrderOralDietNutrient(s, t); src.texture as s -> tgt.texture as t then NutritionOrderOralDietTexture(s, t); src.fluidConsistencyType -> tgt.fluidConsistencyType; src.instruction -> tgt.instruction; } // group NutritionOrderOralDietSchedule(source src, target tgt) extends BackboneElement { // src.timing -> tgt.timing; // src.asNeeded -> tgt.asNeeded; // src.asNeededFor -> tgt.asNeededFor; // } group NutritionOrderOralDietNutrient(source src, target tgt) extends BackboneElement { src.modifier -> tgt.modifier; src.amount -> tgt.amount; } group NutritionOrderOralDietTexture(source src, target tgt) extends BackboneElement { src.modifier -> tgt.modifier; src.foodType -> tgt.foodType; } group NutritionOrderSupplement(source src, target tgt) extends BackboneElement { src.type -> tgt.type; src.productName -> tgt.productName; src.schedule as s -> tgt then { s.timing -> tgt.schedule; }; src.quantity -> tgt.quantity; src.instruction -> tgt.instruction; } // group NutritionOrderSupplementSchedule(source src, target tgt) extends BackboneElement { // src.timing -> tgt.timing; // src.asNeeded -> tgt.asNeeded; // src.asNeededFor -> tgt.asNeededFor; // } group NutritionOrderEnteralFormula(source src, target tgt) extends BackboneElement { src.baseFormulaType -> tgt.baseFormulaType; src.baseFormulaProductName -> tgt.baseFormulaProductName; src.additive as s -> tgt then { s.type -> tgt.additiveType; s.productName -> tgt.additiveProductName; }; src.caloricDensity -> tgt.caloricDensity; src.routeOfAdministration -> tgt.routeofAdministration; src.administration as s -> tgt.administration as t then NutritionOrderEnteralFormulaAdministration(s, t); src.maxVolumeToDeliver -> tgt.maxVolumeToDeliver; src.administrationInstruction -> tgt.administrationInstruction; } // group NutritionOrderEnteralFormulaAdditive(source src, target tgt) extends BackboneElement { // src.type -> tgt.type; // src.productName -> tgt.productName; // src.quantity -> tgt.quantity; // } group NutritionOrderEnteralFormulaAdministration(source src, target tgt) extends BackboneElement { src.schedule as s -> tgt then { s.timing -> tgt.schedule; }; src.quantity -> tgt.quantity; src.rate : Quantity -> tgt.rate; src.rate : Ratio -> tgt.rate; }
{
"resourceType" : "StructureMap",
"id" : "NutritionOrder5to4B",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/NutritionOrder5to4B'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'NutritionOrder5to4B'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'NutritionOrder Transforms: R5 to R4B'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/5.0/NutritionOrder<span style=\"color: navy\">" </span><b>alias </b>NutritionOrderR5 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/4.0/NutritionOrder<span style=\"color: navy\">" </span><b>alias </b>NutritionOrderR4B <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*5to4B<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>NutritionOrder<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>NutritionOrderR5, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>NutritionOrderR4B<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier<span style=\"color: navy\">;</span>\r\n src.instantiatesCanonical<span style=\"color: navy\"><b> -> </b></span>tgt.instantiatesCanonical<span style=\"color: navy\">;</span>\r\n src.instantiatesUri<span style=\"color: navy\"><b> -> </b></span>tgt.instantiatesUri<span style=\"color: navy\">;</span>\r\n src.instantiates<span style=\"color: navy\"><b> -> </b></span>tgt.instantiates<span style=\"color: navy\">;</span>\r\n src.status<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.status = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/NutritionOrder.status-R5toR4'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.intent<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.intent = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/NutritionOrder.intent-R5toR4'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.subject<span style=\"color: navy\"><b> -> </b></span>tgt.patient<span style=\"color: navy\">;</span>\r\n src.encounter<span style=\"color: navy\"><b> -> </b></span>tgt.encounter<span style=\"color: navy\">;</span>\r\n src.dateTime<span style=\"color: navy\"><b> -> </b></span>tgt.dateTime<span style=\"color: navy\">;</span>\r\n src.orderer<span style=\"color: navy\"><b> -> </b></span>tgt.orderer<span style=\"color: navy\">;</span>\r\n src.allergyIntolerance<span style=\"color: navy\"><b> -> </b></span>tgt.allergyIntolerance<span style=\"color: navy\">;</span>\r\n src.foodPreferenceModifier<span style=\"color: navy\"><b> -> </b></span>tgt.foodPreferenceModifier<span style=\"color: navy\">;</span>\r\n src.excludeFoodModifier<span style=\"color: navy\"><b> -> </b></span>tgt.excludeFoodModifier<span style=\"color: navy\">;</span>\r\n src.oralDiet<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.oralDiet<b> as </b><span style=\"color: maroon\">t</span><b> then </b>NutritionOrderOralDiet<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.supplement<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.supplement<b> as </b><span style=\"color: maroon\">t</span><b> then </b>NutritionOrderSupplement<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.enteralFormula<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.enteralFormula<b> as </b><span style=\"color: maroon\">t</span><b> then </b>NutritionOrderEnteralFormula<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.note<span style=\"color: navy\"><b> -> </b></span>tgt.note<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>NutritionOrderOralDiet<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.schedule<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span><span style=\"color: maroon\">tgt</span><b> then</b><span style=\"color: navy\"> {\r\n</span> s.timing<span style=\"color: navy\"><b> -> </b></span>tgt.schedule<span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>\r\n src.nutrient<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.nutrient<b> as </b><span style=\"color: maroon\">t</span><b> then </b>NutritionOrderOralDietNutrient<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.texture<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.texture<b> as </b><span style=\"color: maroon\">t</span><b> then </b>NutritionOrderOralDietTexture<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.fluidConsistencyType<span style=\"color: navy\"><b> -> </b></span>tgt.fluidConsistencyType<span style=\"color: navy\">;</span>\r\n src.instruction<span style=\"color: navy\"><b> -> </b></span>tgt.instruction<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">group NutritionOrderOralDietSchedule(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.timing -> tgt.timing;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.asNeeded -> tgt.asNeeded;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.asNeededFor -> tgt.asNeededFor;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<b>group </b>NutritionOrderOralDietNutrient<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.modifier<span style=\"color: navy\"><b> -> </b></span>tgt.modifier<span style=\"color: navy\">;</span>\r\n src.amount<span style=\"color: navy\"><b> -> </b></span>tgt.amount<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>NutritionOrderOralDietTexture<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.modifier<span style=\"color: navy\"><b> -> </b></span>tgt.modifier<span style=\"color: navy\">;</span>\r\n src.foodType<span style=\"color: navy\"><b> -> </b></span>tgt.foodType<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>NutritionOrderSupplement<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.productName<span style=\"color: navy\"><b> -> </b></span>tgt.productName<span style=\"color: navy\">;</span>\r\n src.schedule<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span><span style=\"color: maroon\">tgt</span><b> then</b><span style=\"color: navy\"> {\r\n</span> s.timing<span style=\"color: navy\"><b> -> </b></span>tgt.schedule<span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>\r\n src.quantity<span style=\"color: navy\"><b> -> </b></span>tgt.quantity<span style=\"color: navy\">;</span>\r\n src.instruction<span style=\"color: navy\"><b> -> </b></span>tgt.instruction<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">group NutritionOrderSupplementSchedule(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.timing -> tgt.timing;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.asNeeded -> tgt.asNeeded;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.asNeededFor -> tgt.asNeededFor;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<b>group </b>NutritionOrderEnteralFormula<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.baseFormulaType<span style=\"color: navy\"><b> -> </b></span>tgt.baseFormulaType<span style=\"color: navy\">;</span>\r\n src.baseFormulaProductName<span style=\"color: navy\"><b> -> </b></span>tgt.baseFormulaProductName<span style=\"color: navy\">;</span>\r\n src.additive<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span><span style=\"color: maroon\">tgt</span><b> then</b><span style=\"color: navy\"> {\r\n</span> s.type<span style=\"color: navy\"><b> -> </b></span>tgt.additiveType<span style=\"color: navy\">;</span>\r\n s.productName<span style=\"color: navy\"><b> -> </b></span>tgt.additiveProductName<span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>\r\n src.caloricDensity<span style=\"color: navy\"><b> -> </b></span>tgt.caloricDensity<span style=\"color: navy\">;</span>\r\n src.routeOfAdministration<span style=\"color: navy\"><b> -> </b></span>tgt.routeofAdministration<span style=\"color: navy\">;</span>\r\n src.administration<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.administration<b> as </b><span style=\"color: maroon\">t</span><b> then </b>NutritionOrderEnteralFormulaAdministration<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.maxVolumeToDeliver<span style=\"color: navy\"><b> -> </b></span>tgt.maxVolumeToDeliver<span style=\"color: navy\">;</span>\r\n src.administrationInstruction<span style=\"color: navy\"><b> -> </b></span>tgt.administrationInstruction<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">group NutritionOrderEnteralFormulaAdditive(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.type -> tgt.type;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.productName -> tgt.productName;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.quantity -> tgt.quantity;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<b>group </b>NutritionOrderEnteralFormulaAdministration<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.schedule<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span><span style=\"color: maroon\">tgt</span><b> then</b><span style=\"color: navy\"> {\r\n</span> s.timing<span style=\"color: navy\"><b> -> </b></span>tgt.schedule<span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>\r\n src.quantity<span style=\"color: navy\"><b> -> </b></span>tgt.quantity<span style=\"color: navy\">;</span>\r\n src.rate<span style=\"color: navy\"> : </span>Quantity<span style=\"color: navy\"><b> -> </b></span>tgt.rate<span style=\"color: navy\">;</span>\r\n src.rate<span style=\"color: navy\"> : </span>Ratio<span style=\"color: navy\"><b> -> </b></span>tgt.rate<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/NutritionOrder5to4B",
"version" : "0.1.0",
"name" : "NutritionOrder5to4B",
"title" : "NutritionOrder Transforms: R5 to R4B",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "NutritionOrderTransformsR5toR4B",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/5.0/NutritionOrder",
"mode" : "source",
"alias" : "NutritionOrderR5"
},
{
"url" : "http://hl7.org/fhir/4.0/NutritionOrder",
"mode" : "target",
"alias" : "NutritionOrderR4B"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*5to4B"
],
"group" : [
{
"name" : "NutritionOrder",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "NutritionOrderR5",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "NutritionOrderR4B",
"mode" : "target"
}
],
"rule" : [
{
"name" : "identifier",
"source" : [
{
"context" : "src",
"element" : "identifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "identifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "instantiatesCanonical",
"source" : [
{
"context" : "src",
"element" : "instantiatesCanonical",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "instantiatesCanonical",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "instantiatesUri",
"source" : [
{
"context" : "src",
"element" : "instantiatesUri",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "instantiatesUri",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "instantiates",
"source" : [
{
"context" : "src",
"element" : "instantiates",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "instantiates",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "status",
"source" : [
{
"context" : "src",
"element" : "status",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "status",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/NutritionOrder.status-R5toR4"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "intent",
"source" : [
{
"context" : "src",
"element" : "intent",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "intent",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/NutritionOrder.intent-R5toR4"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "subject",
"source" : [
{
"context" : "src",
"element" : "subject",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "patient",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "encounter",
"source" : [
{
"context" : "src",
"element" : "encounter",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "encounter",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "dateTime",
"source" : [
{
"context" : "src",
"element" : "dateTime",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "dateTime",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "orderer",
"source" : [
{
"context" : "src",
"element" : "orderer",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "orderer",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "allergyIntolerance",
"source" : [
{
"context" : "src",
"element" : "allergyIntolerance",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "allergyIntolerance",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "foodPreferenceModifier",
"source" : [
{
"context" : "src",
"element" : "foodPreferenceModifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "foodPreferenceModifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "excludeFoodModifier",
"source" : [
{
"context" : "src",
"element" : "excludeFoodModifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "excludeFoodModifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "oralDiet",
"source" : [
{
"context" : "src",
"element" : "oralDiet",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "oralDiet",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "NutritionOrderOralDiet",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "supplement",
"source" : [
{
"context" : "src",
"element" : "supplement",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "supplement",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "NutritionOrderSupplement",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "enteralFormula",
"source" : [
{
"context" : "src",
"element" : "enteralFormula",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "enteralFormula",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "NutritionOrderEnteralFormula",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "note",
"source" : [
{
"context" : "src",
"element" : "note",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "note",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "NutritionOrderOralDiet",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "schedule",
"source" : [
{
"context" : "src",
"element" : "schedule",
"variable" : "s"
}
],
"target" : [
{
"transform" : "copy",
"parameter" : [
{
"valueId" : "tgt"
}
]
}
],
"rule" : [
{
"name" : "timing",
"source" : [
{
"context" : "s",
"element" : "timing",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "schedule",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "nutrient",
"source" : [
{
"context" : "src",
"element" : "nutrient",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "nutrient",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "NutritionOrderOralDietNutrient",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "texture",
"source" : [
{
"context" : "src",
"element" : "texture",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "texture",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "NutritionOrderOralDietTexture",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "fluidConsistencyType",
"source" : [
{
"context" : "src",
"element" : "fluidConsistencyType",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "fluidConsistencyType",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "instruction",
"source" : [
{
"context" : "src",
"element" : "instruction",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "instruction",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "NutritionOrderOralDietNutrient",
"extends" : "BackboneElement",
"documentation" : "group NutritionOrderOralDietSchedule(source src, target tgt) extends BackboneElement {\r\nsrc.timing -> tgt.timing;\r\nsrc.asNeeded -> tgt.asNeeded;\r\nsrc.asNeededFor -> tgt.asNeededFor;\r\n}",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "modifier",
"source" : [
{
"context" : "src",
"element" : "modifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "modifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "amount",
"source" : [
{
"context" : "src",
"element" : "amount",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "amount",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "NutritionOrderOralDietTexture",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "modifier",
"source" : [
{
"context" : "src",
"element" : "modifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "modifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "foodType",
"source" : [
{
"context" : "src",
"element" : "foodType",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "foodType",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "NutritionOrderSupplement",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "productName",
"source" : [
{
"context" : "src",
"element" : "productName",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "productName",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "schedule",
"source" : [
{
"context" : "src",
"element" : "schedule",
"variable" : "s"
}
],
"target" : [
{
"transform" : "copy",
"parameter" : [
{
"valueId" : "tgt"
}
]
}
],
"rule" : [
{
"name" : "timing",
"source" : [
{
"context" : "s",
"element" : "timing",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "schedule",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "quantity",
"source" : [
{
"context" : "src",
"element" : "quantity",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "quantity",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "instruction",
"source" : [
{
"context" : "src",
"element" : "instruction",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "instruction",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "NutritionOrderEnteralFormula",
"extends" : "BackboneElement",
"documentation" : "group NutritionOrderSupplementSchedule(source src, target tgt) extends BackboneElement {\r\nsrc.timing -> tgt.timing;\r\nsrc.asNeeded -> tgt.asNeeded;\r\nsrc.asNeededFor -> tgt.asNeededFor;\r\n}",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "baseFormulaType",
"source" : [
{
"context" : "src",
"element" : "baseFormulaType",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "baseFormulaType",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "baseFormulaProductName",
"source" : [
{
"context" : "src",
"element" : "baseFormulaProductName",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "baseFormulaProductName",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "additive",
"source" : [
{
"context" : "src",
"element" : "additive",
"variable" : "s"
}
],
"target" : [
{
"transform" : "copy",
"parameter" : [
{
"valueId" : "tgt"
}
]
}
],
"rule" : [
{
"name" : "type",
"source" : [
{
"context" : "s",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "additiveType",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "productName",
"source" : [
{
"context" : "s",
"element" : "productName",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "additiveProductName",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "caloricDensity",
"source" : [
{
"context" : "src",
"element" : "caloricDensity",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "caloricDensity",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "routeOfAdministration",
"source" : [
{
"context" : "src",
"element" : "routeOfAdministration",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "routeofAdministration",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "administration",
"source" : [
{
"context" : "src",
"element" : "administration",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "administration",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "NutritionOrderEnteralFormulaAdministration",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "maxVolumeToDeliver",
"source" : [
{
"context" : "src",
"element" : "maxVolumeToDeliver",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "maxVolumeToDeliver",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "administrationInstruction",
"source" : [
{
"context" : "src",
"element" : "administrationInstruction",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "administrationInstruction",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "NutritionOrderEnteralFormulaAdministration",
"extends" : "BackboneElement",
"documentation" : "group NutritionOrderEnteralFormulaAdditive(source src, target tgt) extends BackboneElement {\r\nsrc.type -> tgt.type;\r\nsrc.productName -> tgt.productName;\r\nsrc.quantity -> tgt.quantity;\r\n}",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "schedule",
"source" : [
{
"context" : "src",
"element" : "schedule",
"variable" : "s"
}
],
"target" : [
{
"transform" : "copy",
"parameter" : [
{
"valueId" : "tgt"
}
]
}
],
"rule" : [
{
"name" : "timing",
"source" : [
{
"context" : "s",
"element" : "timing",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "schedule",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "quantity",
"source" : [
{
"context" : "src",
"element" : "quantity",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "quantity",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "rateQuantity",
"source" : [
{
"context" : "src",
"type" : "Quantity",
"element" : "rate",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "rate",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "rateRatio",
"source" : [
{
"context" : "src",
"type" : "Ratio",
"element" : "rate",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "rate",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.